<?php echo form_open(site_url(uri_string())); ?>
<table>
    <tr>
        <td>Kode</td>
        <td><input type="text" name="kode" value="<?php echo set_value('kode'); ?>" size="30" /></td>
        <td><?php echo form_error('kode', '<span>', '</span>'); ?></td>
    </tr>
    <tr>
        <td>Uraian</td>
        <td><input type="text" name="uraian" value="<?php echo set_value('uraian'); ?>" size="30" /></td>
        <td><?php echo form_error('uraian', '<span>', '</span>'); ?></td>
    </tr>
    <tr>
        <td><?php echo form_label('Uraian Akun Level1');?></td>
        <td><?php echo form_dropdown("kr_akun_level1_kode", $options_kr_akun_level1_kode, $selected_kr_akun_level1_kode)?></td>
        <td><?php echo form_error("kr_akun_level1_kode", "<p class='error'>", "</p>")?></td>
    </tr>
    <tr>
        <td><?php echo form_label('Uraian Akun Level2');?></td>
        <td><?php echo form_dropdown("kr_akun_level2_kode", $options_kr_akun_level2_kode, $selected_kr_akun_level2_kode)?></td>
        <td><?php echo form_error("kr_akun_level2_kode", "<p class='error'>", "</p>")?></td>
    </tr>
    <tr>
        <td><?php echo form_label('Uraian Akun Level3');?></td>
        <td><?php echo form_dropdown("kr_akun_level3_kode", $options_kr_akun_level3_kode, $selected_kr_akun_level3_kode)?></td>
        <td><?php echo form_error("kr_akun_level3_kode", "<p class='error'>", "</p>")?></td>
    </tr>
    <tr>
        <td><?php echo form_label('Uraian Akun Level4');?></td>
        <td><?php echo form_dropdown("kr_akun_level4_kode", $options_kr_akun_level4_kode, $selected_kr_akun_level4_kode)?></td>
        <td><?php echo form_error("kr_akun_level4_kode", "<p class='error'>", "</p>")?></td>
    </tr>
    <tr>
        <td></td>
        <td><input type="submit" name="simpan" value="Submit" /></td>
    </tr>
</table>
